/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package Entity;

/**
 *
 * @author Administrator
 */
public class E_Department {
    private int departmentID;
    private String depName;

    public E_Department(){
        this.departmentID=0;
        this.depName="";
    }

    public E_Department(int departmentID,String depName){
        this.departmentID=departmentID;
        this.depName=depName;
    }

    public void setDepartmentID(int departmentID){
        this.departmentID=departmentID;
    }
    public int getDepartmentID(){
        return this.departmentID;
    }

    public void setDepartmentName(String depName){
        this.depName=depName;
    }
    public String getDepartmentName(){
        return this.depName;
    }

    public String toString(){
        String depInfo="DepartmentID : "+departmentID;
               depInfo+="Name : "+depName;
        return depInfo;
    }
}
